package com.zjtaixue.usersite.query;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.apache.commons.lang3.StringUtils;

import java.io.Serializable;

/**
 * 教师的高级查询
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class TeacherQueryObject extends QueryObject implements Serializable{

    private String keyword;

    public String getKeyword() {
        return StringUtils.isBlank(keyword) ? null : keyword;
    }
}
